home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / AboveBelow.dxr / Internal_7_c hotspot.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  413 b   |  21 lines

  1. property spriteNum
  2. global stock, reserve, equal, currentsel, getlist, godlist, basecard
  3.  
  4. on mouseEnter me
  5.   if the clickOn <> (spriteNum - 1) then
  6.     if getlist <> VOID then
  7.       if getlist.getlastcard().rank = basecard.rank then
  8.         equal = 1
  9.         currentsel = spriteNum - 1
  10.         godlist = reserve
  11.       end if
  12.     end if
  13.   end if
  14. end
  15.  
  16. on mouseLeave
  17.   equal = 0
  18.   currentsel = 0
  19.   godlist = VOID
  20. end
  21.